<#include "/common/header.html" />

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInUp">
        <div class="row">
            <div class="col-sm-12">
            	 <div class="ibox-title">
                     <h5>添加新闻</h5>
                 </div>
                 <div class="ibox-content">
                 <p>${error}</p>
                 		<form method="post" action="add" 
                 		class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">新闻标题</label>
                                <div class="col-sm-10">
                                    <input name="title" type="text" class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">新闻内容</label>
                                <div class="col-sm-10">
                                    <textarea name="content" class="form-control"> 
                                    </textarea>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">保存内容</button>
                                    <button class="btn btn-danger" type="button" onclick="history.back()">返回</button>
                                </div>
                            </div>
                        </form>
                 </div>
            </div>
        </div>
    </div>
<#include "/common/footer.html" />  
</body>
</html>